package com.zabra.zl.ui.mybank.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.BankListBean;

import okhttp3.RequestBody;
import retrofit2.Call;

public interface MyBankContract {
    interface Model {
        Call<BankListBean> getData(RequestBody body);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(BankListBean bean,String token);
    }

    interface Presenter {
       void getData(RequestBody body);
    }
}
